package com.lyw.gulimall.ware.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName("wms_purchase_detail_error")
public class PurchaseDetailErrorEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 采购需求id
     */
    private Long purchaseDetailId;
    /**
     * 采购数量
     */
    private Integer purchaseDetailCount;
    /**
     * 需要数量
     */
    private Integer needCount;
    /**
     * 需要数量
     */
    private BigDecimal purchaseDetailPrice;
    /**
     * 采购失败原因
     */
    private String reason;
}
